package com.java.mapper;

import java.util.List;

import com.java.entity.Course;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer courseid);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer courseid);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
    
    List<Course> getAll();
    
    List<Course> selectByCondition(Course record);
    
    List<Course> selectByTeacher(Course record);
}